﻿/// <reference path="../../yui-3.14-min.js" />
YUI.add('catalogo-model-list', function (Y) {

    Y.Catalogos = Y.Base.create('Catalogos', Y.ModelList, [Y.ExcellentModelSync.REST], {
        model: Y.Catalogo,
        url: 'http://localhost:4174/api/catalogos',
        urlList: {
            listPaging: 'http://localhost:4174/api/catalogos/GetPagedCatalogos/{pageIndex}/{pageSize}'
        }
    });

}, '0.0.0.1', { requires: ['model-list', 'catalogo-model', 'model-sync-rest'] })